home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / New System Software Extensions / QuickDraw™ GX 1.1.2 / Programming Stuff / QuickDraw™ GX Interfaces & Libs / CIncludes / font routines.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-10  |  7.3 KB  |  146 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        font routines.h
  3.  
  4.     Copyright:    © 1984-1995 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef fontRoutinesIncludes
  13. #define fontRoutinesIncludes
  14.  
  15.     #ifndef mathTypesIncludes
  16. #include "math types.h"
  17. /*    #include <Types.h>                                            */
  18. /*        #include <ConditionalMacros.h>                            */
  19. /*        #include <MixedMode.h>                                    */
  20. /*            #include <Traps.h>                                    */
  21.     #endif
  22.  
  23.     #ifndef fontTypesIncludes
  24. #include "font types.h"
  25.     #endif
  26.  
  27.     #ifndef layoutTypesIncludes
  28. #include "layout types.h"
  29. /*    #include "graphics types.h"                                    */
  30.     #endif
  31.  
  32.     #ifndef graphicsLinkageIncludes
  33. #include "graphics linkage.h"
  34.     #endif
  35.  
  36.     #ifndef graphicsTypesIncludes
  37.     #endif
  38.  
  39.     #ifndef scalerTypesIncludes
  40. #include "scaler types.h"
  41. /*    #include "sfnt types.h"                                        */
  42.     #endif
  43.  
  44.     #ifdef __cplusplus
  45. extern "C" {
  46.     #endif
  47.  
  48. extern gxFont GXNewFont(gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute attributes)
  49.  THREEWORDINLINE(0x303C, 0x201, 0xA832);
  50. extern gxFontStorageTag GXGetFont(gxFont fontID, gxFontStorageReference *reference, gxFontAttribute *attributes)
  51.  THREEWORDINLINE(0x303C, 0x202, 0xA832);
  52. extern gxFont GXFindFont(gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute *attributes)
  53.  THREEWORDINLINE(0x303C, 0x203, 0xA832);
  54. extern void GXSetFont(gxFont fontID, gxFontStorageTag storage, gxFontStorageReference reference, gxFontAttribute attributes)
  55.  THREEWORDINLINE(0x303C, 0x204, 0xA832);
  56. extern void GXDisposeFont(gxFont fontID)
  57.  THREEWORDINLINE(0x303C, 0x205, 0xA832);
  58. extern void GXChangedFont(gxFont fontID)
  59.  THREEWORDINLINE(0x303C, 0x206, 0xA832);
  60. extern gxFontFormatTag GXGetFontFormat(gxFont fontID)
  61.  THREEWORDINLINE(0x303C, 0x207, 0xA832);
  62. extern gxFont GXGetDefaultFont(void)
  63.  THREEWORDINLINE(0x303C, 0x208, 0xA832);
  64. extern gxFont GXSetDefaultFont(gxFont fontID)
  65.  THREEWORDINLINE(0x303C, 0x209, 0xA832);
  66. extern long GXFindFonts(gxFont familyID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, long length, const unsigned char text[], long index, long count, gxFont fonts[])
  67.  THREEWORDINLINE(0x303C, 0x20a, 0xA832);
  68. extern long GXCountFontGlyphs(gxFont fontID)
  69.  THREEWORDINLINE(0x303C, 0x20b, 0xA832);
  70. extern long GXCountFontTables(gxFont fontID)
  71.  THREEWORDINLINE(0x303C, 0x20c, 0xA832);
  72. extern long GXGetFontTable(gxFont fontID, long index, void *tableData, gxFontTableTag *tableTag)
  73.  THREEWORDINLINE(0x303C, 0x20d, 0xA832);
  74. extern long GXFindFontTable(gxFont fontID, gxFontTableTag tableTag, void *tableData, long *index)
  75.  THREEWORDINLINE(0x303C, 0x20e, 0xA832);
  76. extern long GXGetFontTableParts(gxFont fontID, long index, long offset, long length, void *tableData, gxFontTableTag *tableTag)
  77.  THREEWORDINLINE(0x303C, 0x20f, 0xA832);
  78. extern long GXFindFontTableParts(gxFont fontID, gxFontTableTag tableTag, long offset, long length, void *tableData, long *index)
  79.  THREEWORDINLINE(0x303C, 0x210, 0xA832);
  80. extern long GXSetFontTable(gxFont fontID, long index, gxFontTableTag tableTag, long length, const void *tableData)
  81.  THREEWORDINLINE(0x303C, 0x211, 0xA832);
  82. extern long GXSetFontTableParts(gxFont fontID, long index, gxFontTableTag tableTag, long offset, long oldLength, long newLength, const void *tableData)
  83.  THREEWORDINLINE(0x303C, 0x212, 0xA832);
  84. extern long GXDeleteFontTable(gxFont fontID, long index, gxFontTableTag tableTag)
  85.  THREEWORDINLINE(0x303C, 0x213, 0xA832);
  86. extern long GXCountFontNames(gxFont fontID)
  87.  THREEWORDINLINE(0x303C, 0x214, 0xA832);
  88. extern long GXGetFontName(gxFont fontID, long index, gxFontName *name, gxFontPlatform *platform, gxFontScript *script, gxFontLanguage *language, unsigned char text[])
  89.  THREEWORDINLINE(0x303C, 0x215, 0xA832);
  90. extern long GXFindFontName(gxFont fontID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, unsigned char text[], long *index)
  91.  THREEWORDINLINE(0x303C, 0x216, 0xA832);
  92. extern long GXSetFontName(gxFont fontID, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language, long length, const unsigned char text[])
  93.  THREEWORDINLINE(0x303C, 0x217, 0xA832);
  94. extern long GXDeleteFontName(gxFont fontID, long index, gxFontName name, gxFontPlatform platform, gxFontScript script, gxFontLanguage language)
  95.  THREEWORDINLINE(0x303C, 0x218, 0xA832);
  96. extern gxFontName GXNewFontNameID(gxFont fontID)
  97.  THREEWORDINLINE(0x303C, 0x219, 0xA832);
  98. extern long GXCountFontEncodings(gxFont fontID)
  99.  THREEWORDINLINE(0x303C, 0x21a, 0xA832);
  100. extern gxFontPlatform GXGetFontEncoding(gxFont fontID, long index, gxFontScript *script, gxFontLanguage *language)
  101.  THREEWORDINLINE(0x303C, 0x21b, 0xA832);
  102. extern long GXFindFontEncoding(gxFont fontID, gxFontPlatform platform, gxFontScript script, gxFontLanguage language)
  103.  THREEWORDINLINE(0x303C, 0x21c, 0xA832);
  104. extern long GXApplyFontEncoding(gxFont fontID, long index, long *length, const unsigned char text[], long count, unsigned short glyphs[], char was16Bit[])
  105.  THREEWORDINLINE(0x303C, 0x21d, 0xA832);
  106. extern long GXCountFontVariations(gxFont)
  107.  THREEWORDINLINE(0x303C, 0x21e, 0xA832);
  108. extern long GXFindFontVariation(gxFont, gxFontVariationTag variationTag, Fixed *minValue, Fixed *defaultValue, Fixed *maxValue, gxFontName *name)
  109.  THREEWORDINLINE(0x303C, 0x21f, 0xA832);
  110. extern gxFontVariationTag GXGetFontVariation(gxFont, long index, Fixed *minValue, Fixed *defaultValue, Fixed *maxValue, gxFontName *name)
  111.  THREEWORDINLINE(0x303C, 0x220, 0xA832);
  112. extern long GXCountFontInstances(gxFont)
  113.  THREEWORDINLINE(0x303C, 0x221, 0xA832);
  114. extern gxFontName GXGetFontInstance(gxFont, long index, gxFontVariation variation[])
  115.  THREEWORDINLINE(0x303C, 0x222, 0xA832);
  116. extern long GXSetFontInstance(gxFont fontID, long index, gxFontName name, const gxFontVariation variation[])
  117.  THREEWORDINLINE(0x303C, 0x223, 0xA832);
  118. extern long GXDeleteFontInstance(gxFont fontID, long index, gxFontName name)
  119.  THREEWORDINLINE(0x303C, 0x224, 0xA832);
  120. extern long GXCountFontDescriptors(gxFont fontID)
  121.  THREEWORDINLINE(0x303C, 0x225, 0xA832);
  122. extern gxFontDescriptorTag GXGetFontDescriptor(gxFont fontID, long index, Fixed *descriptorValue)
  123.  THREEWORDINLINE(0x303C, 0x226, 0xA832);
  124. extern long GXFindFontDescriptor(gxFont fontID, gxFontDescriptorTag descriptorTag, Fixed *descriptorValue)
  125.  THREEWORDINLINE(0x303C, 0x227, 0xA832);
  126. extern long GXSetFontDescriptor(gxFont fontID, long index, gxFontDescriptorTag descriptorTag, Fixed descriptorValue)
  127.  THREEWORDINLINE(0x303C, 0x228, 0xA832);
  128. extern long GXDeleteFontDescriptor(gxFont fontID, long index, gxFontDescriptorTag descriptorTag)
  129.  THREEWORDINLINE(0x303C, 0x229, 0xA832);
  130. extern long GXCountFontFeatures(gxFont fontID)
  131.  THREEWORDINLINE(0x303C, 0x22a, 0xA832);
  132. extern gxFontName GXGetFontFeature(gxFont fontID, long index, gxFontFeatureFlag *flags, long *settingCount, gxFontFeatureSetting settings[], gxFontFeature *feature)
  133.  THREEWORDINLINE(0x303C, 0x22b, 0xA832);
  134. extern gxFontName GXFindFontFeature(gxFont fontID, gxFontFeature feature, gxFontFeatureFlag *flags, long *settingCount, gxFontFeatureSetting settings[], long *index)
  135.  THREEWORDINLINE(0x303C, 0x22c, 0xA832);
  136. extern long GXGetFontDefaultFeatures(gxFont fontID, gxRunFeature features[])
  137.  THREEWORDINLINE(0x303C, 0x274, 0xA832);
  138. extern void GXFlattenFont(gxFont source, scalerStream *stream, gxSpoolBlock *block)
  139.  THREEWORDINLINE(0x303C, 0x22d, 0xA832);
  140.     #ifdef __cplusplus
  141. }
  142.     #endif
  143.  
  144. #endif
  145.  
  146.